package com.hzit.loan.repayment.controller;

import com.hzit.loan.pay.commonApi.resp.PayNotifyData;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/payment")
public class PayNotifyController {


    @RequestMapping("/callBack")
    public String rec(@RequestBody PayNotifyData payNotifyData){
        System.out.println("接收到支付服务的回调参数：" + payNotifyData);
        //获取支付服务回调参数

        //验证签名

        //更新还款流水

        //响应success



        return "";
    }
}
